/**
 * @name: loginService
 * @Description:
 * @Author: 方琦
 * @Date: 2022/6/15 13:44
 **/
import api from "@/api";
import axios from "@/utils/axios";

//退出登录
function outLogin() {
    return axios({
        url: api.loginApi.outLogin,
        method: 'post'
    })
}

function adminLogin(admin) {
    return axios({
        url: api.loginApi.adminLogin,
        method: 'post',
        data: admin
    })
}

export default {
    adminLogin,
    outLogin
}
